package com.example.lpc_.mapper;

import com.example.lpc_.pojo.entity.Category;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @BelongsProject: second_market
 * @BelongsPackage: com.example.lpc_.mapper
 * @Author: dianye
 * @CreateTime: 2022-10-27  15:34
 * @Description: TODO
 * @Version: 1.0
 */
@Repository
public interface CategoryMapper {
    List<Category> select();

    void deleteById(int id);

    void insert(String name);

    void update(Category category);
}
